package com.Runtime;

/**
 * @Auther: shiquan
 * @Date: 2024/10/24 - 10 - 24 -16:03
 */
public class ObjectDemo3 {
    public static void main(String[] args) {
        String s ="abc";
        StringBuilder sb = new StringBuilder("abc");
        System.out.println(s.equals(sb)); //false
        System.out.println(sb.equals(s));  //false

        //以为equals被String类中的

    }
}
